package com.hkts.naturalgas.workovertime.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hml
 * @since 2023-08-31
 */
public class HkOvertimeUser extends Model<HkOvertimeUser> {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 加班/调休人id
     */
    private String hontUserId;
    /**
     * 加班/调休人姓名
     */
    private String nickName;
    /**
     * 部门id
     */
    private String departmentId;
    /**
     * 部门名称
     */
    private String departmentTitle;
    /**
     * 加班发起时间
     */
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    /**
     * 加班/调休详情id
     */
    private String hkOvertimeId;
    /**
     * 岗位id
     */
    private String postId;
    /**
     * post名称
     */
    private String postTitle;

    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId;
    }

    public String getPostTitle() {
        return postTitle;
    }

    public void setPostTitle(String postTitle) {
        this.postTitle = postTitle;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getHontUserId() {
        return hontUserId;
    }

    public void setHontUserId(String hontUserId) {
        this.hontUserId = hontUserId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentTitle() {
        return departmentTitle;
    }

    public void setDepartmentTitle(String departmentTitle) {
        this.departmentTitle = departmentTitle;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getHkOvertimeId() {
        return hkOvertimeId;
    }

    public void setHkOvertimeId(String hkOvertimeId) {
        this.hkOvertimeId = hkOvertimeId;
    }


    public static final String ID = "id";

    public static final String HONT_USER_ID = "hont_user_id";

    public static final String NICK_NAME = "nick_name";

    public static final String DEPARTMENT_ID = "department_id";

    public static final String DEPARTMENT_TITLE = "department_title";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    public static final String HK_OVERTIME_ID = "hk_overtime_id";

    public static final String HONT_POST_ID = "hont_post_id";

    public static final String HONT_POST_TITLE = "hont_post_title";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HkOvertimeUser{" +
                ", id=" + id +
                ", hontUserId=" + hontUserId +
                ", nickName=" + nickName +
                ", departmentId=" + departmentId +
                ", departmentTitle=" + departmentTitle +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", hkOvertimeId=" + hkOvertimeId +
                "}";
    }
}
